def get_fib(num):
    fib = [0, 1]
    for i in range(num-len(fib)):
        fib.append(fib[-1]+fib[-2])

    return fib

if __name__ == '__main__':
    print(get_fib(10))